import { Module } from '@nestjs/common';
import { TypeOrmModule } from '@nestjs/typeorm';
import { Article } from 'src/entities/article.entity';
import { Comment } from 'src/entities/comment.entity';
import { User } from 'src/entities/user.entity';
import { CommentResolver } from 'src/resolvers/comment.resolver';
import { ArticleService } from 'src/services/article/article.service';
import { CommentService } from 'src/services/comment/comment.service';
import { UserService } from 'src/services/user/user.service';

@Module({
  imports: [TypeOrmModule.forFeature([Comment,User,Article])],
  providers: [CommentResolver,CommentService,UserService,ArticleService],
})
export class CommentModule {}